package com.wxs.pojo;

public class Hello {
    private String name;

    public Hello() {
        System.out.println("Hello 无参构造函数invoke");
    }

    public Hello(String name) {
        System.out.println("Hello 有参构造函数invoke");
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void show(){
        System.out.println("hello" + name);
    }
}
